package gateway;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * https://netty.io/wiki/reference-counted-objects.html
 */
@Slf4j
@SpringBootApplication
public class GatewayApplication {

    public static void main(String[] args) {
        log.info("server is starting...");
        long start = System.currentTimeMillis();
        SpringApplication.run(GatewayApplication.class, args);
        log.info("server started cost: {}ms", System.currentTimeMillis() - start);
    }

}
